package com.mall.web.controller.monitor;

import com.mall.common.core.controller.BaseController;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * druid 监控
 *
 * Created by zhonglin on 2020/4/8.
 */
@Controller
@RequestMapping("/monitor/data")
public class DruidController
    extends BaseController {

  private String prefix = "/druid";

  @RequiresPermissions("monitor:data:view")
  @GetMapping()
  public String index() {

    return redirect(prefix + "/index");
  }

}
